package com.zhdl.modules.common.service;

import com.zhdl.modules.common.entity.ProcessWarnMessage;
import com.zhdl.modules.common.web.req.ProcessWarnMessageReq;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ProcessWarnService {
    void updateProcessWarnInfo(ProcessWarnMessageReq req);

    void saveProcessWarnInfo(ProcessWarnMessage req);

    ProcessWarnMessage findById(int id);

    List<ProcessWarnMessage> findAllWarnInfo();

    Page<ProcessWarnMessage> findAllByPage(Pageable pageable);
}
